/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <iostream>
#include <cmath>
using namespace std;

int main_13()
{
    //int
    cout << 11111*11111 << endl;
    cout << 111111*111111 << endl;//integer overflow
    cout << 111111111*111111111 << endl;
    //double
    cout << 11111.*11111. << endl;
    cout << 111111.*111111. << endl;
    cout << 111111111.*111111111. << endl;
    //sqrt(-10)
    printf("%d\n",sqrt(-10));//0
    printf("%f\n",sqrt(-10));//-nan
    printf("%lf\n",sqrt(-10));//-nan
    //1.0/0.0 0.0/0.0
    printf("%d %d\n",1.0/0.0,0.0/0.0);
    printf("%f %f\n",1.0/0.0,0.0/0.0);
    printf("%lf %lf\n",1.0/0.0,0.0/0.0);
    //1/0
    printf("%d\n",1/0);//floating point exception
    printf("%f\n",1/0);//floating point exception
	return 0;
}
